package com.ktjy.mapper;

import com.ktjy.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper {
    public int add(Address address);
    public int update(Address address);
    public int delete(@Param("id") Integer id);
    public List<Address> getAddressList(@Param("contact") String contact,@Param("addressDesc") String addressDesc,@Param("tel") String tel,@Param("pageSize") Integer pageSize,@Param("offset") Integer offset);
}
